import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "@/store/index";
import ElementPlus from "element-plus";
import "@/styles/index.scss";
import plugins from "./plugins/index";
import "@/router/permission";
import "element-plus/dist/index.css";
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const app = createApp(App);

plugins(app);

app
  .use(router)
  .use(store)
  .use(ElementPlus, { size: "small", zIndex: 2000, locale: zhCn });

app.mount("#app");
